package com.albaba.designpattern.factory.text_003.factory.impl;

import com.albaba.designpattern.factory.text_003.factory.FreeGoodsFactory;
import com.albaba.designpattern.factory.text_003.service.IFreeGoods;
import com.albaba.designpattern.factory.text_003.service.impl.DiscountFreeGoodServiceImpl;

/**
 * @Description: 优惠券发放接口 - 具体工厂
 * @Author zx
 * @Date 2025/2/19 13:54
 * @Version 1.0
 */
public class DiscountFreeGoodsFactory implements FreeGoodsFactory {
    @Override
    public IFreeGoods getInstance() {
        return new DiscountFreeGoodServiceImpl();
    }
}
